<HTML>
<HEAD>
<TITLE>JavaScript Source Code 3000:  Messages:  Random Puns</TITLE>
<META HTTP-EQUIV="JavaScript Source Code 3000" CONTENT = "no-cache">
<META NAME="date" CONTENT="2000-09-09">
<META NAME="channel" CONTENT="Web Developer">
<META NAME="author" CONTENT="JavaScript Source Code 3000">
<META NAME="section" CONTENT="Messages">
<META NAME="description" CONTENT="Use JavaScript to display one of many random puns.  All are funny!">
</HEAD>

<BODY BGCOLOR=#ffffff vlink=#0000ff>

<BR>
<center>
<table width="600" cellpadding="0" cellspacing="10">
<tr>
<td width="468" align="center">

	
</td>
<td width="120" align="center">

	
</td>
</tr>
</table>
<BR>
<BR>
<BASEFONT SIZE=3>
  <FONT SIZE=6>
<B><FONT SIZE="+2" FACE="Helvetica,Arial" ALIGN=RIGHT COLOR="#0000FF">
<b><A HREF="../index.htm" /" TARGET="_top">
Home</A> </b><img src="../img/arrow.gif" /img/arrow.gif" height=13 width=7 border=0 alt="}"> <b><A HREF="index.htm" /messages/"><font color="#FF0000">Messages</font></A> </b>
<img src="../img/arrow.gif" /img/arrow.gif" height=13 width=7 border=0 alt="}"> <FONT COLOR="#006666">Random Puns</FONT></b></FONT><BR>
</B><BR>
  </FONT>
<TABLE BORDER=0 WIDTH=500 CELLPADDING=3 CELLSPACING=0>
<tr><td><font FACE=" helvetica,arial,geneva">
<br>
<br>
<!-- Description --><!--content_start-->

Use JavaScript to display one of many random puns.  All are funny!<br><hr>
</td></tr>
</table>
<!--  Demonstration -->
<BODY>
<CENTER><P>
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
var a = Math.random() + ""
var rand1 = a.charAt(5)
quotes = new Array
quotes[1] = "I found out she's an angel.  I don't think she knows I know.  I'm worried that something might happen to me if anyone ever finds out."
quotes[2] = "Every jumbled pile of person has a thinking part that wonder's what the part that isn't thinking isn't thing of."
quotes[3] = "Love see's love's happiness.  But happiness can't see that love is sad."
quotes[4] = "Why the dancing, shouting, why the skrieks of pain?  The lovely music, why the smell of burning autumn leaves?"
quotes[5] = "Thank you for the card with the cartoon nurse, but there's nothing wrong with me."
quotes[6] = "You didn't enjoy it you never believed it there won't be a refund you'll never go back."
quotes[7] = "Lad looks at other gals.  Gal thinks Jim Bean is handsomer than lad, he isn't bad."
quotes[8] = "I don't want the world.  I just want your half."
quotes[9] = "I could never sleep my way to the top, cause my alarm clock always wakes me right up."
quotes[0] = "They say love is blind.  I don't think you're blind."
//  quotes from www.tmbg.com
var quote = quotes[rand1]
document.write(quote);
// End -->
</SCRIPT>
<P>
<BR>
<P>
<a name="source">
<TABLE BORDER=0 WIDTH=500 CELLPADDING=3 CELLSPACING=0>
<tr><td BGCOLOR=yellow><font FACE="helvetica,arial,geneva"><b>JavaScript Source Code 3000:  Messages:  Random Puns</b>
<p>Simply click inside the window below, use your cursor to highlight the script, and copy (type Control-c or Apple-c) the script into a new file in your text editor (such as NotePad or SimpleText) and save (Control-s or Apple-s).  The script is yours!<br><br></font></td></tr>
<tr><td BGCOLOR=yellow ALIGN=CENTER>
<form NAME="copy">

<DIV align="center">
<input type=button value="Highlight All" onClick="javascript:this.form.txt.focus();this.form.txt.select();">&nbsp;&nbsp;&nbsp;&nbsp;
<INPUT TYPE="text" NAME="total" VALUE="Script Size:  1.58 KB  " size="24">
</DIV>

<textarea NAME="txt" ROWS=20 COLS=75 WRAP=VIRTUAL>

&lt;!-- ONE STEP TO INSTALL RANDOM PUNS:

   1.  Add the specified coding into the BODY of your HTML document  --&gt;

&lt;!-- STEP ONE: Put this code into the BODY of your HTML document  --&gt;

&lt;BODY&gt;

&lt;CENTER&gt;
&lt;SCRIPT LANGUAGE="JavaScript"&gt;

&lt;! &gt;
&lt;! &gt;

&lt;!-- Begin
var a = Math.random() + ""
var rand1 = a.charAt(5)
quotes = new Array
quotes[1] = "I found out she's an angel.  I don't think she knows I know.  I'm worried that something might happen to me if anyone ever finds out."
quotes[2] = "Every jumbled pile of person has a thinking part that wonder's what the part that isn't thinking isn't thing of."
quotes[3] = "Love see's love's happiness.  But happiness can't see that love is sad."
quotes[4] = "Why the dancing, shouting, why the skrieks of pain?  The lovely music, why the smell of burning autumn leaves?"
quotes[5] = "Thank you for the card with the cartoon nurse, but there's nothing wrong with me."
quotes[6] = "You didn't enjoy it you never believed it there won't be a refund you'll never go back."
quotes[7] = "Lad looks at other gals.  Gal thinks Jim Bean is handsomer than lad, he isn't bad."
quotes[8] = "I don't want the world.  I just want your half."
quotes[9] = "I could never sleep my way to the top, cause my alarm clock always wakes me right up."
quotes[0] = "They say love is blind.  I don't think you're blind."
//  quotes from www.tmbg.com
var quote = quotes[rand1]
document.write(quote);
// End --&gt;
&lt;/SCRIPT&gt;
&lt;/CENTER&gt;

 

&lt;!-- Script Size:  1.58 KB  --&gt;
</textarea><br><font FACE="helvetica,arial,geneva"></font></td></tr>

</table>
</form>
</FONT>
</CENTER>


</center>
</body></html>